﻿<%@ Page Language="C#" MasterPageFile="~/MasterStrana.Master" AutoEventWireup="true" CodeBehind="Pocetna.aspx.cs" Inherits="WebApplication1.WebForm1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <title>GermanAutomobiles</title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="pocetnaSelekcija">
    <table>
        <tr><td>
            <asp:Label ID="Label1" runat="server" Text="Изберете производител:"></asp:Label>
        </td></tr>
        <tr><td>
            <asp:DropDownList ID="MarkiList" runat="server" style="height: 28px" 
                AutoPostBack="True" Width="220" Font-Size="16pt"
                onselectedindexchanged="MarkiList_SelectedIndexChanged"></asp:DropDownList>
        </td></tr>
        <tr><td>
            <asp:Label ID="Label2" runat="server" Text="Изберете модел:"></asp:Label>
        </td></tr>
        <tr><td>
            <asp:DropDownList ID="ModeliList" runat="server" style="height: 28px" 
                Font-Size="16pt" AutoPostBack="True" Width="220" 
                onselectedindexchanged="ModeliList_SelectedIndexChanged"></asp:DropDownList>
        </td></tr>
        <tr><td align="center" valign="middle">
            <asp:Image ID="ProizvoditelSlika" runat="server" Width="165" Height="165" />
        </td></tr>
        </table>
            <asp:Label ID="Proizvoditel" runat="server" Visible="false"></asp:Label>
            <asp:Label ID="Model" runat="server" Visible="false"></asp:Label>
    </div>
    
    <div id="pocetnaSlika">
        <asp:Image ID="SlikaPocetna" runat="server" Width="320" Height="240" />
    </div>
    
    <div id="kratkiInformacii">
        <table width="240">
            <tr>
                <td align="center" colspan="2">Информации за моделот:</td>
            </tr>
            <tr>
                <td align="center" colspan="2"><asp:Label ID="ModelLabel" Font-Size="12pt" runat="server"></asp:Label></td>
            </tr>
            <tr>
                <td>Марка:</td>
                <td><asp:Label ID="MarkaLabel" Font-Size="12pt" runat="server"></asp:Label></td>
            </tr>
            <tr>
                <td>Модел:</td>
                <td><asp:Label ID="ModelLabel1" Font-Size="12pt" runat="server"></asp:Label></td>
            </tr>
            <tr>
                <td>Тип:</td>
                <td><asp:Label ID="TipLabel" Font-Size="12pt" runat="server"></asp:Label></td>
            </tr>
            <tr>
                <td align="center" colspan="2">Официјална web страна:</td>
            </tr>
            <tr>
                <td align="center" colspan="2"><asp:HyperLink ID="ModelHyperLink" runat="server"></asp:HyperLink></td>
            </tr>
            <tr>
                <td align="center" valign="middle" height="85" colspan="2">
                    <span><asp:LinkButton ID="LinkButton1" runat="server" onclick="LinkButton1_Click">Повеќе информации</asp:LinkButton></span>
                </td>
            </tr>
        </table>
        
    </div>
</asp:Content>
